package com.molichuxing.gateway.bff.car.entity.request.modify;

import com.molichuxing.framework.dto.RequestRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;

/**
 * <p>
 * 年检实体
 * </p>
 *
 * @author xuelin yi
 * @since 2019-08-19
 */
@Data
public class YearlyInspectionModifyVo extends RequestRootDto {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "车辆id")
    private Integer carId;

    @ApiModelProperty(value = "年检到期日期")
    private String endDate;

    @ApiModelProperty(value = "办理方式（0：第三方办理，1：用户自行办理）")
    private Integer handleWay;

    @ApiModelProperty(value = "邮寄地址")
    private String mailAddress;

    @ApiModelProperty(value = "收件人")
    private String recipients;

    @ApiModelProperty(value = "收件人电话")
    @Length(min = 11, max = 11, message = "请输入正确的手机号")
    private String recipientsPhone;

    @ApiModelProperty(value = "年检合格证书")
    private String qualificationCertificateUrl;
}
